package com.example.treasure_back.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("orders")
public class OrderModel {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String goodsName;
    private String goodsImage;
    @TableField(fill = FieldFill.INSERT)
    private Date exchangeTime;
    private String email;
    private String province;
    private String city;
    private String addr;
    private Integer status;
    private String name;
    private String phone;
}
